//
//  SqureTroopForm.hpp
//  fingeradvanture
//
//  Created by shuaibincheng on 16/5/9.
//
//

#ifndef SqureTroopForm_hpp
#define SqureTroopForm_hpp

#include "cocos2d.h"
#include "TroopForm.hpp"
class SquareTroopForm : public TroopForm
{
public:
    SquareTroopForm() : TroopForm(2, 4, 5){}
    
    virtual void group();
    virtual void train();

    virtual std::vector<TroopStyleType> allowedTroopStyles();//队伍允许出现的风格
    virtual std::vector<TroopActionStyle> allowedTroopActionStyle();
    
    bool monsterInCenter();
    
    virtual float marginLeft();//队伍距离左侧边界的距离
    virtual float marginRight();//队伍距离右侧边界的距离
protected:
    SquareTroopForm(int numOfType, int maxNumOfMonster, int minNumOfMonster) :
    TroopForm(numOfType, maxNumOfMonster, minNumOfMonster){}
};

#endif /* SqureTroopForm_hpp */
